<?php /* Smarty version 2.6.19, created on 2012-10-07 22:45:00
         compiled from D:/xampp/htdocs/nghiepquang/templates/ModuleAdmin/list.tpl */ ?>
<div class="form_bound" style="margin:10px auto;width:1000px" align="left">
    <table cellpadding="0" width="1000">
    	<tr>
        	<td  class="form_title"><b><a href="module.html">DANH SÁCH MODULES</a></b></td>
            <td class="form_title_button"><a href="module.html?cmd=scan">Auto Scan Modules</a></td>
	        <td class="form_title_button"><a href="module.html?cmd=delete_cache">Xoá cache Modules</a></td>
		</tr>
	</table>
                        
    <table cellspacing="0" width="1000">
        <tr bgcolor="#EFEFEF" valign="top">
            <td>
                <table width="100%">
                    <tr>
                        <td>
                        	 <table bgcolor="#EFEFEF" cellspacing="0" width="100%">
                                <tr>
                                    <td width="100%" bgcolor="#FFFFFF" align="left" style="padding:6px;">

                                     Tìm Modules: 
                                        <input name="name" type="text" id="name" style="width:120" value="<?php echo $this->_tpl_vars['name']; ?>
">
                                        <input type="submit" value="Tìm kiếm">
                                         <?php if ($this->_tpl_vars['paging']): ?>
                                          <div class="product-list-paging"><?php echo $this->_tpl_vars['paging']; ?>
</div>
                                         <?php endif; ?>
                                            <table width="99%" cellpadding="2" cellspacing="0" border="1" style="border-collapse:collapse" bordercolor="#CCCCCC">
                                              <tr valign="middle" bgcolor="#EFEFEF" style="line-height:20px">
                                                                <td width="10%" align="right"> <a href="<?php echo $this->_tpl_vars['href_id']; ?>
" title="sort">
                                                                    <strong>ID</strong> <?php echo $this->_tpl_vars['img_id']; ?>

                                                </a></td>
                                                                <td width="3%" align="left" nowrap >&nbsp;</td>
                                                                <td width="28%" align="left" nowrap >
                                                                    <a href="<?php echo $this->_tpl_vars['href_name']; ?>
" title="sort">
                                                                    <strong>Modules</strong> <?php echo $this->_tpl_vars['img_name']; ?>
                                                                  </a>                                                                </td>
                                                                <td width="59%">
                                                                    Pages</td>
                                              </tr>
                                                    <?php $_from = $this->_tpl_vars['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['items']):
?>
                                                    <tr align="right" valign="middle" bgcolor="white" <?php echo $this->_tpl_vars['hover']; ?>
>
                                                        <td align="right" valign="top">
                                                            <?php echo $this->_tpl_vars['items']['id']; ?>
                                                </td>
                                                      <td align="left" valign="top">&nbsp;</td>
                                                      <td align="left" valign="top" <?php echo $this->_tpl_vars['items']['onclick']; ?>
>
                                                            <?php echo $this->_tpl_vars['items']['name']; ?>
                                                </td>
                                                        <td align="left" valign="top" style="padding:5px;">
                                                             <?php $_from = $this->_tpl_vars['items']['pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['page']):
?>
                                                            	<strong>[<a href="<?php echo $this->_tpl_vars['page']['name']; ?>
.html"><?php echo $this->_tpl_vars['page']['name']; ?>
</a>]&nbsp;&nbsp;&nbsp;</strong>  
                                                            <?php endforeach; endif; unset($_from); ?>                                                </td>
                                              </tr>
                                                     <?php endforeach; endif; unset($_from); ?>
                                              </table>
                                         <?php if ($this->_tpl_vars['paging']): ?>
                                            <div class="product-list-paging"><?php echo $this->_tpl_vars['paging']; ?>
</div>
                                        <?php endif; ?>
                                  </td>
                               </tr>
                            </table>
                        </td>
                    </tr>
               </table>
            </td>
        </tr>
    </table>
</div>